/**
 * @Author: Your name
 * @Date:   2024-03-08 11:20:07
 * @Last Modified by:   Your name
 * @Last Modified time: 2024-03-08 11:20:15
 */
// app.module.ts
import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { UserModule } from './server/user/user.module';

@Module({
    imports: [MongooseModule.forRoot('mongodb://localhost/xxx'), UserModule],
    controllers: [AppController],
    providers: [AppService]
})
export class AppModule { }